<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
<script>
    function Person(name, age,sex,addr,tll) {
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.addr = addr;
        this.tll = tll;
    }
    Person.prototype.show=function(){
        document.write(this.name+"年龄是"+this.age+"<br />");
    }
    var xiao=new Person("张三","19","男","河南省","123456")
    for(var i in xiao){
        document.write(i+"的值为："+xiao[i]+"<br />");
    }
</script>